
package com.android.repository.impl.generated.v1;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.android.repository.impl.meta.LocalPackageImpl;
import com.android.repository.impl.meta.TrimStringAdapter;


/**
 * DO NOT EDIT
 * This file was generated by xjc from repo-common-01.xsd. Any changes will be lost upon recompilation of the schema.
 * See the schema file for instructions on running xjc.
 * 
 * 
 *                 A locally-installed package.
 *             
 * 
 * <p>Java class for localPackage complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="localPackage"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;group ref="{http://schemas.android.com/repository/android/common/01}packageFields"/&gt;
 *       &lt;attGroup ref="{http://schemas.android.com/repository/android/common/01}packageAttributes"/&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "localPackage", propOrder = {
    "typeDetails",
    "revision",
    "displayName",
    "usesLicense",
    "dependencies"
})
@SuppressWarnings({
    "override",
    "unchecked"
})
public class LocalPackage
    extends LocalPackageImpl
{

    @XmlElement(name = "type-details", required = true)
    protected com.android.repository.impl.generated.v1.TypeDetails typeDetails;
    @XmlElement(required = true)
    protected com.android.repository.impl.generated.v1.RevisionType revision;
    @XmlElement(name = "display-name", required = true)
    @XmlJavaTypeAdapter(TrimStringAdapter.class)
    protected String displayName;
    @XmlElement(name = "uses-license")
    protected LicenseRefType usesLicense;
    protected DependenciesType dependencies;
    @XmlAttribute(name = "path", required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String path;
    @XmlAttribute(name = "obsolete")
    protected Boolean obsolete;

    /**
     * Gets the value of the typeDetails property.
     * 
     * @return
     *     possible object is
     *     {@link com.android.repository.impl.generated.v1.TypeDetails }
     *     
     */
    public com.android.repository.impl.generated.v1.TypeDetails getTypeDetails() {
        return typeDetails;
    }

    /**
     * Sets the value of the typeDetails property.
     * 
     * @param value
     *     allowed object is
     *     {@link com.android.repository.impl.generated.v1.TypeDetails }
     *     
     */
    public void setTypeDetailsInternal(com.android.repository.impl.generated.v1.TypeDetails value) {
        this.typeDetails = value;
    }

    /**
     * Gets the value of the revision property.
     * 
     * @return
     *     possible object is
     *     {@link com.android.repository.impl.generated.v1.RevisionType }
     *     
     */
    public com.android.repository.impl.generated.v1.RevisionType getRevision() {
        return revision;
    }

    /**
     * Sets the value of the revision property.
     * 
     * @param value
     *     allowed object is
     *     {@link com.android.repository.impl.generated.v1.RevisionType }
     *     
     */
    public void setRevisionInternal(com.android.repository.impl.generated.v1.RevisionType value) {
        this.revision = value;
    }

    /**
     * Gets the value of the displayName property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDisplayName() {
        return displayName;
    }

    /**
     * Sets the value of the displayName property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDisplayName(String value) {
        this.displayName = value;
    }

    /**
     * Gets the value of the usesLicense property.
     * 
     * @return
     *     possible object is
     *     {@link LicenseRefType }
     *     
     */
    public LicenseRefType getUsesLicense() {
        return usesLicense;
    }

    /**
     * Sets the value of the usesLicense property.
     * 
     * @param value
     *     allowed object is
     *     {@link LicenseRefType }
     *     
     */
    public void setUsesLicenseInternal(LicenseRefType value) {
        this.usesLicense = value;
    }

    /**
     * Gets the value of the dependencies property.
     * 
     * @return
     *     possible object is
     *     {@link DependenciesType }
     *     
     */
    public DependenciesType getDependencies() {
        return dependencies;
    }

    /**
     * Sets the value of the dependencies property.
     * 
     * @param value
     *     allowed object is
     *     {@link DependenciesType }
     *     
     */
    public void setDependenciesInternal(DependenciesType value) {
        this.dependencies = value;
    }

    /**
     * Gets the value of the path property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPath() {
        return path;
    }

    /**
     * Sets the value of the path property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPath(String value) {
        this.path = value;
    }

    /**
     * Gets the value of the obsolete property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isObsolete() {
        return obsolete;
    }

    /**
     * Sets the value of the obsolete property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setObsolete(Boolean value) {
        this.obsolete = value;
    }

    public void setTypeDetails(com.android.repository.impl.meta.TypeDetails value) {
        setTypeDetailsInternal(((com.android.repository.impl.generated.v1.TypeDetails) value));
    }

    public void setRevision(com.android.repository.impl.meta.RevisionType value) {
        setRevisionInternal(((com.android.repository.impl.generated.v1.RevisionType) value));
    }

    public void setUsesLicense(com.android.repository.impl.meta.RepoPackageImpl.UsesLicense value) {
        setUsesLicenseInternal(((LicenseRefType) value));
    }

    public void setDependencies(com.android.repository.impl.meta.RepoPackageImpl.Dependencies value) {
        setDependenciesInternal(((DependenciesType) value));
    }

    public ObjectFactory createFactory() {
        return new ObjectFactory();
    }

}
